<?php
// +----------------------------------------------------------------------
// | 杭州十禾信息科技有限公司
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2015 http://www.shelpe.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: LeePuman <ysyzlsm@163.com>
// +----------------------------------------------------------------------

class SimbaLog extends NewzanAction
{
	private static $fullMethod = array(
			'semiautotag'
		);

	public static function save($model, $data)
	{
		if(in_array($model, self::$fullMethod)) {
			$model .= '_log';
			$data['add_time'] = date('Y-m-d H:i:s');
			M($model)->add($data);
		}
	}
}
